package com.xinqi.modules.sys.gpt.dto.rsp;

import com.xinqi.common.core.annotation.Sensitive;
import com.xinqi.common.core.enums.SensitiveStrategy;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 用户分享注册记录-响应对象
 *
 * @author: yyzhen
 * @date: 2023/05/23
 */
@Data
@Schema(description = "用户分享注册记录-响应对象")
public class ShareLogResultDTO implements Serializable {

    @Schema(description = "ID")
    private Long id;

    @Schema(description = "邀请人")
    private Long userId;

    @Schema(description = "被邀请人")
    private Long invitedUserId;

    @Schema(description = "分享后注册时间")
    private LocalDateTime registerTime;

    @Schema(description = "邀请人头像")
    private String shareAvatar;

    @Schema(description = "邀请人昵称")
    private String shareNickname;

    @Schema(description = "邀请人新奇号")
    private String shareXinqiNumber;

    @Schema(description = "邀请人手机号", example = "1531***568")
    @Sensitive(strategy = SensitiveStrategy.PHONE)
    private String shareMobile;

    @Schema(description = "被邀请人头像")
    private String invitedAvatar;

    @Schema(description = "被邀请人昵称")
    private String invitedNickname;

    @Schema(description = "被邀请人新奇号")
    private String invitedXinqiNumber;

    @Schema(description = "被邀请人手机号", example = "1531***568")
    @Sensitive(strategy = SensitiveStrategy.PHONE)
    private String invitedMobile;

}
